@import '~antd/es/style/themes/default.less';
@import './thems/joyGlobal.less';
html,
body,
#root {
  height: 100%;
}

.colorWeak {
  -webkit-filter: invert(80%);
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

//入场动画
.fade-enter,
.fade-appear {
  opacity: 0;
}
.fade-enter-active,
.fade-appear-active {
  opacity: 1;
  -webkit-transition: all 0.15s ease-in;
  transition: all 0.15s ease-in;
}
.fade-enter-done {
  opacity: 1;
}
//出场动画
.fade-exit {
  opacity: 1;
}
.fade-exit-active {
  opacity: 0;
  -webkit-transition: all 0.15s ease-in;
  transition: all 0.15s ease-in;
}
.fade-exit-done {
  opacity: 0;
}

//入场动画
.scale-enter,
.scale-appear {
  -webkit-transform-origin: left center;
          transform-origin: left center;
  opacity: 0;
  -webkit-transform: scale(0);
          transform: scale(0);
}
.scale-enter-active,
.scale-appear-active {
  -webkit-transform-origin: left center;
          transform-origin: left center;
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: all 0.15s ease-in;
  transition: all 0.15s ease-in;
}
.scale-enter-done {
  -webkit-transform-origin: left center;
          transform-origin: left center;
  -webkit-transform: scale(1);
          transform: scale(1);
  opacity: 1;
}
//出场动画
.scale-exit {
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transform-origin: left center;
          transform-origin: left center;
  opacity: 1;
}
.scale-exit-active {
  -webkit-transform-origin: left center;
          transform-origin: left center;
  opacity: 0;
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-transition: all 0.15s ease-in;
  transition: all 0.15s ease-in;
}
.scale-exit-done {
  -webkit-transform-origin: left center;
          transform-origin: left center;
  opacity: 0;
  -webkit-transform: scale(0);
          transform: scale(0);
}

//入场动画
.fade-enter,
.fade-appear {
  opacity: 0;
}
.fade-enter-active,
.fade-appear-active {
  opacity: 1;
  -webkit-transition: all 0.15s ease-in;
  transition: all 0.15s ease-in;
}
.fade-enter-done {
  opacity: 1;
}
//出场动画
.fade-exit {
  opacity: 1;
}
.fade-exit-active {
  opacity: 0;
  -webkit-transition: all 0.15s ease-in;
  transition: all 0.15s ease-in;
}
.fade-exit-done {
  opacity: 0;
}

//入场动画
.scale-enter,
.scale-appear {
  -webkit-transform-origin: left center;
          transform-origin: left center;
  opacity: 0;
  -webkit-transform: scale(0);
          transform: scale(0);
}
.scale-enter-active,
.scale-appear-active {
  -webkit-transform-origin: left center;
          transform-origin: left center;
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: all 0.15s ease-in;
  transition: all 0.15s ease-in;
}
.scale-enter-done {
  -webkit-transform-origin: left center;
          transform-origin: left center;
  -webkit-transform: scale(1);
          transform: scale(1);
  opacity: 1;
}
//出场动画
.scale-exit {
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transform-origin: left center;
          transform-origin: left center;
  opacity: 1;
}
.scale-exit-active {
  -webkit-transform-origin: left center;
          transform-origin: left center;
  opacity: 0;
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-transition: all 0.15s ease-in;
  transition: all 0.15s ease-in;
}
.scale-exit-done {
  -webkit-transform-origin: left center;
          transform-origin: left center;
  opacity: 0;
  -webkit-transform: scale(0);
          transform: scale(0);
}

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}